package com.tbit.main.service.impl;

import com.tbit.main.dao.core.CouponDao;
import com.tbit.main.pojo.Coupon;
import com.tbit.main.service.CouponService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * 优惠券
 *
 */
@Service
public class CouponServiceImpl implements CouponService {

    @Autowired
    private CouponDao couponDao;
    @Override
    public Coupon getBycouponId(Integer couponId) {
        return couponDao.getByCouponId(couponId);
    }
}
